import i18n from '@/locale';

/**
 * 设备类型
 */
export async function getDeviceTypeOptions() {
    return [
        {
            label: '1',
            value: 1,
        },
        {
            label: '2',
            value: 2,
        },
        {
            label: '3',
            value: 3,
        },
    ];
}
/**
 * 获取设备所属产品枚举
 * @returns
 */
export async function getDeviceProductTypeOptions() {
    return [
        {
            label: '1',
            value: 1,
        },
        {
            label: '2',
            value: 2,
        },
        {
            label: '3',
            value: 3,
        },
    ];
}
export const StatusDict = {
    0: i18n.global.t('li-xian'),
    1: i18n.global.t('zai-xian'),
};
export const StatusOptions = [
    {
        label: StatusDict[0],
        value: 0,
    },
    {
        label: StatusDict[1],
        value: 1,
    },
];
